package com.seraph.zys.dao.impl;

import com.seraph.bi.suite.support.domain.pagination.PageBox;
import com.seraph.bi.suite.support.domain.pagination.PageObject;
import com.seraph.zys.dao.PccPaExcitationFeeDAO;
import com.seraph.zys.dao.domain.PccPaExcitationFee;
import com.seraph.zys.dao.domain.PccPaExcitationFeeExample;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
import org.springframework.stereotype.Repository;

@Repository
public class PccPaExcitationFeeDAOImpl extends SqlMapClientDaoSupport implements PccPaExcitationFeeDAO {

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    public PccPaExcitationFeeDAOImpl() {
        super();
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    public Integer insert(PccPaExcitationFee record) {
        Object newKey = getSqlMapClientTemplate().insert("pcc_pa_excitation_fee.abatorgenerated_insert", record);
        return (Integer) newKey;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    public int updateByPrimaryKey(PccPaExcitationFee record) {
        int rows = getSqlMapClientTemplate().update("pcc_pa_excitation_fee.abatorgenerated_updateByPrimaryKey", record);
        return rows;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    public int updateByPrimaryKeySelective(PccPaExcitationFee record) {
        int rows = getSqlMapClientTemplate().update("pcc_pa_excitation_fee.abatorgenerated_updateByPrimaryKeySelective", record);
        return rows;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    public List selectByExample(PccPaExcitationFeeExample example, String orderByClause) {
        Map parms = getExampleParms(example);
        if (orderByClause != null) {
            parms.put("ABATOR_ORDER_BY_CLAUSE", orderByClause);
        }
        List list = getSqlMapClientTemplate().queryForList("pcc_pa_excitation_fee.abatorgenerated_selectByExample", parms);
        return list;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    public List selectByExample(PccPaExcitationFeeExample example) {
        return selectByExample(example, null);
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    public PccPaExcitationFee selectByPrimaryKey(Integer id) {
        PccPaExcitationFee key = new PccPaExcitationFee();
        key.setId(id);
        PccPaExcitationFee record = (PccPaExcitationFee) getSqlMapClientTemplate().queryForObject("pcc_pa_excitation_fee.abatorgenerated_selectByPrimaryKey", key);
        return record;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    public int deleteByExample(PccPaExcitationFeeExample example) {
        int rows = getSqlMapClientTemplate().delete("pcc_pa_excitation_fee.abatorgenerated_deleteByExample", getExampleParms(example));
        return rows;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    public int deleteByPrimaryKey(Integer id) {
        PccPaExcitationFee key = new PccPaExcitationFee();
        key.setId(id);
        int rows = getSqlMapClientTemplate().delete("pcc_pa_excitation_fee.abatorgenerated_deleteByPrimaryKey", key);
        return rows;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getIDExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getId_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_ID_NULL", "Y");
            } else {
                parms.put("AND_ID_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_ID_NOT_NULL", "Y");
            } else {
                parms.put("AND_ID_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_ID_EQUALS", "Y");
            } else {
                parms.put("AND_ID_EQUALS", "Y");
            }
            parms.put("id", example.getId());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_ID_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_ID_NOT_EQUALS", "Y");
            }
            parms.put("id", example.getId());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_ID_GT", "Y");
            } else {
                parms.put("AND_ID_GT", "Y");
            }
            parms.put("id", example.getId());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_ID_GE", "Y");
            } else {
                parms.put("AND_ID_GE", "Y");
            }
            parms.put("id", example.getId());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_ID_LT", "Y");
            } else {
                parms.put("AND_ID_LT", "Y");
            }
            parms.put("id", example.getId());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_ID_LE", "Y");
            } else {
                parms.put("AND_ID_LE", "Y");
            }
            parms.put("id", example.getId());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getFISCAL_YEARExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getFiscalYear_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FISCAL_YEAR_NULL", "Y");
            } else {
                parms.put("AND_FISCAL_YEAR_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FISCAL_YEAR_NOT_NULL", "Y");
            } else {
                parms.put("AND_FISCAL_YEAR_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FISCAL_YEAR_EQUALS", "Y");
            } else {
                parms.put("AND_FISCAL_YEAR_EQUALS", "Y");
            }
            parms.put("fiscalYear", example.getFiscalYear());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FISCAL_YEAR_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_FISCAL_YEAR_NOT_EQUALS", "Y");
            }
            parms.put("fiscalYear", example.getFiscalYear());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FISCAL_YEAR_GT", "Y");
            } else {
                parms.put("AND_FISCAL_YEAR_GT", "Y");
            }
            parms.put("fiscalYear", example.getFiscalYear());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FISCAL_YEAR_GE", "Y");
            } else {
                parms.put("AND_FISCAL_YEAR_GE", "Y");
            }
            parms.put("fiscalYear", example.getFiscalYear());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FISCAL_YEAR_LT", "Y");
            } else {
                parms.put("AND_FISCAL_YEAR_LT", "Y");
            }
            parms.put("fiscalYear", example.getFiscalYear());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FISCAL_YEAR_LE", "Y");
            } else {
                parms.put("AND_FISCAL_YEAR_LE", "Y");
            }
            parms.put("fiscalYear", example.getFiscalYear());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getFROM_AREAExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getFromArea_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FROM_AREA_NULL", "Y");
            } else {
                parms.put("AND_FROM_AREA_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FROM_AREA_NOT_NULL", "Y");
            } else {
                parms.put("AND_FROM_AREA_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FROM_AREA_EQUALS", "Y");
            } else {
                parms.put("AND_FROM_AREA_EQUALS", "Y");
            }
            parms.put("fromArea", example.getFromArea());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FROM_AREA_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_FROM_AREA_NOT_EQUALS", "Y");
            }
            parms.put("fromArea", example.getFromArea());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FROM_AREA_GT", "Y");
            } else {
                parms.put("AND_FROM_AREA_GT", "Y");
            }
            parms.put("fromArea", example.getFromArea());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FROM_AREA_GE", "Y");
            } else {
                parms.put("AND_FROM_AREA_GE", "Y");
            }
            parms.put("fromArea", example.getFromArea());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FROM_AREA_LT", "Y");
            } else {
                parms.put("AND_FROM_AREA_LT", "Y");
            }
            parms.put("fromArea", example.getFromArea());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FROM_AREA_LE", "Y");
            } else {
                parms.put("AND_FROM_AREA_LE", "Y");
            }
            parms.put("fromArea", example.getFromArea());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LIKE:
            if (example.isCombineTypeOr()) {
                parms.put("OR_FROM_AREA_LIKE", "Y");
            } else {
                parms.put("AND_FROM_AREA_LIKE", "Y");
            }
            parms.put("fromArea", example.getFromArea());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getSORT_IDExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getSortId_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SORT_ID_NULL", "Y");
            } else {
                parms.put("AND_SORT_ID_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SORT_ID_NOT_NULL", "Y");
            } else {
                parms.put("AND_SORT_ID_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SORT_ID_EQUALS", "Y");
            } else {
                parms.put("AND_SORT_ID_EQUALS", "Y");
            }
            parms.put("sortId", example.getSortId());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SORT_ID_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_SORT_ID_NOT_EQUALS", "Y");
            }
            parms.put("sortId", example.getSortId());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SORT_ID_GT", "Y");
            } else {
                parms.put("AND_SORT_ID_GT", "Y");
            }
            parms.put("sortId", example.getSortId());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SORT_ID_GE", "Y");
            } else {
                parms.put("AND_SORT_ID_GE", "Y");
            }
            parms.put("sortId", example.getSortId());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SORT_ID_LT", "Y");
            } else {
                parms.put("AND_SORT_ID_LT", "Y");
            }
            parms.put("sortId", example.getSortId());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SORT_ID_LE", "Y");
            } else {
                parms.put("AND_SORT_ID_LE", "Y");
            }
            parms.put("sortId", example.getSortId());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getPATIENTSExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getPatients_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_PATIENTS_NULL", "Y");
            } else {
                parms.put("AND_PATIENTS_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_PATIENTS_NOT_NULL", "Y");
            } else {
                parms.put("AND_PATIENTS_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_PATIENTS_EQUALS", "Y");
            } else {
                parms.put("AND_PATIENTS_EQUALS", "Y");
            }
            parms.put("patients", example.getPatients());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_PATIENTS_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_PATIENTS_NOT_EQUALS", "Y");
            }
            parms.put("patients", example.getPatients());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_PATIENTS_GT", "Y");
            } else {
                parms.put("AND_PATIENTS_GT", "Y");
            }
            parms.put("patients", example.getPatients());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_PATIENTS_GE", "Y");
            } else {
                parms.put("AND_PATIENTS_GE", "Y");
            }
            parms.put("patients", example.getPatients());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_PATIENTS_LT", "Y");
            } else {
                parms.put("AND_PATIENTS_LT", "Y");
            }
            parms.put("patients", example.getPatients());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_PATIENTS_LE", "Y");
            } else {
                parms.put("AND_PATIENTS_LE", "Y");
            }
            parms.put("patients", example.getPatients());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LIKE:
            if (example.isCombineTypeOr()) {
                parms.put("OR_PATIENTS_LIKE", "Y");
            } else {
                parms.put("AND_PATIENTS_LIKE", "Y");
            }
            parms.put("patients", example.getPatients());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getREP_SICK_scaleExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getRepSickScale_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_scale_NULL", "Y");
            } else {
                parms.put("AND_REP_SICK_scale_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_scale_NOT_NULL", "Y");
            } else {
                parms.put("AND_REP_SICK_scale_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_scale_EQUALS", "Y");
            } else {
                parms.put("AND_REP_SICK_scale_EQUALS", "Y");
            }
            parms.put("repSickScale", example.getRepSickScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_scale_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_REP_SICK_scale_NOT_EQUALS", "Y");
            }
            parms.put("repSickScale", example.getRepSickScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_scale_GT", "Y");
            } else {
                parms.put("AND_REP_SICK_scale_GT", "Y");
            }
            parms.put("repSickScale", example.getRepSickScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_scale_GE", "Y");
            } else {
                parms.put("AND_REP_SICK_scale_GE", "Y");
            }
            parms.put("repSickScale", example.getRepSickScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_scale_LT", "Y");
            } else {
                parms.put("AND_REP_SICK_scale_LT", "Y");
            }
            parms.put("repSickScale", example.getRepSickScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_scale_LE", "Y");
            } else {
                parms.put("AND_REP_SICK_scale_LE", "Y");
            }
            parms.put("repSickScale", example.getRepSickScale());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getSUS_PAT_scaleExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getSusPatScale_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_scale_NULL", "Y");
            } else {
                parms.put("AND_SUS_PAT_scale_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_scale_NOT_NULL", "Y");
            } else {
                parms.put("AND_SUS_PAT_scale_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_scale_EQUALS", "Y");
            } else {
                parms.put("AND_SUS_PAT_scale_EQUALS", "Y");
            }
            parms.put("susPatScale", example.getSusPatScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_scale_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_SUS_PAT_scale_NOT_EQUALS", "Y");
            }
            parms.put("susPatScale", example.getSusPatScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_scale_GT", "Y");
            } else {
                parms.put("AND_SUS_PAT_scale_GT", "Y");
            }
            parms.put("susPatScale", example.getSusPatScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_scale_GE", "Y");
            } else {
                parms.put("AND_SUS_PAT_scale_GE", "Y");
            }
            parms.put("susPatScale", example.getSusPatScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_scale_LT", "Y");
            } else {
                parms.put("AND_SUS_PAT_scale_LT", "Y");
            }
            parms.put("susPatScale", example.getSusPatScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_scale_LE", "Y");
            } else {
                parms.put("AND_SUS_PAT_scale_LE", "Y");
            }
            parms.put("susPatScale", example.getSusPatScale());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getINTE_PAT_scaleExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getIntePatScale_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_scale_NULL", "Y");
            } else {
                parms.put("AND_INTE_PAT_scale_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_scale_NOT_NULL", "Y");
            } else {
                parms.put("AND_INTE_PAT_scale_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_scale_EQUALS", "Y");
            } else {
                parms.put("AND_INTE_PAT_scale_EQUALS", "Y");
            }
            parms.put("intePatScale", example.getIntePatScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_scale_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_INTE_PAT_scale_NOT_EQUALS", "Y");
            }
            parms.put("intePatScale", example.getIntePatScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_scale_GT", "Y");
            } else {
                parms.put("AND_INTE_PAT_scale_GT", "Y");
            }
            parms.put("intePatScale", example.getIntePatScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_scale_GE", "Y");
            } else {
                parms.put("AND_INTE_PAT_scale_GE", "Y");
            }
            parms.put("intePatScale", example.getIntePatScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_scale_LT", "Y");
            } else {
                parms.put("AND_INTE_PAT_scale_LT", "Y");
            }
            parms.put("intePatScale", example.getIntePatScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_scale_LE", "Y");
            } else {
                parms.put("AND_INTE_PAT_scale_LE", "Y");
            }
            parms.put("intePatScale", example.getIntePatScale());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getRural_doct_scaleExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getRuralDoctScale_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_scale_NULL", "Y");
            } else {
                parms.put("AND_Rural_doct_scale_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_scale_NOT_NULL", "Y");
            } else {
                parms.put("AND_Rural_doct_scale_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_scale_EQUALS", "Y");
            } else {
                parms.put("AND_Rural_doct_scale_EQUALS", "Y");
            }
            parms.put("ruralDoctScale", example.getRuralDoctScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_scale_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_Rural_doct_scale_NOT_EQUALS", "Y");
            }
            parms.put("ruralDoctScale", example.getRuralDoctScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_scale_GT", "Y");
            } else {
                parms.put("AND_Rural_doct_scale_GT", "Y");
            }
            parms.put("ruralDoctScale", example.getRuralDoctScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_scale_GE", "Y");
            } else {
                parms.put("AND_Rural_doct_scale_GE", "Y");
            }
            parms.put("ruralDoctScale", example.getRuralDoctScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_scale_LT", "Y");
            } else {
                parms.put("AND_Rural_doct_scale_LT", "Y");
            }
            parms.put("ruralDoctScale", example.getRuralDoctScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_scale_LE", "Y");
            } else {
                parms.put("AND_Rural_doct_scale_LE", "Y");
            }
            parms.put("ruralDoctScale", example.getRuralDoctScale());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getPsych_supp_scaleExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getPsychSuppScale_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_scale_NULL", "Y");
            } else {
                parms.put("AND_Psych_supp_scale_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_scale_NOT_NULL", "Y");
            } else {
                parms.put("AND_Psych_supp_scale_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_scale_EQUALS", "Y");
            } else {
                parms.put("AND_Psych_supp_scale_EQUALS", "Y");
            }
            parms.put("psychSuppScale", example.getPsychSuppScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_scale_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_Psych_supp_scale_NOT_EQUALS", "Y");
            }
            parms.put("psychSuppScale", example.getPsychSuppScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_scale_GT", "Y");
            } else {
                parms.put("AND_Psych_supp_scale_GT", "Y");
            }
            parms.put("psychSuppScale", example.getPsychSuppScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_scale_GE", "Y");
            } else {
                parms.put("AND_Psych_supp_scale_GE", "Y");
            }
            parms.put("psychSuppScale", example.getPsychSuppScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_scale_LT", "Y");
            } else {
                parms.put("AND_Psych_supp_scale_LT", "Y");
            }
            parms.put("psychSuppScale", example.getPsychSuppScale());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_scale_LE", "Y");
            } else {
                parms.put("AND_Psych_supp_scale_LE", "Y");
            }
            parms.put("psychSuppScale", example.getPsychSuppScale());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getREP_SICK_PRICEExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getRepSickPrice_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_PRICE_NULL", "Y");
            } else {
                parms.put("AND_REP_SICK_PRICE_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_PRICE_NOT_NULL", "Y");
            } else {
                parms.put("AND_REP_SICK_PRICE_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_PRICE_EQUALS", "Y");
            } else {
                parms.put("AND_REP_SICK_PRICE_EQUALS", "Y");
            }
            parms.put("repSickPrice", example.getRepSickPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_PRICE_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_REP_SICK_PRICE_NOT_EQUALS", "Y");
            }
            parms.put("repSickPrice", example.getRepSickPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_PRICE_GT", "Y");
            } else {
                parms.put("AND_REP_SICK_PRICE_GT", "Y");
            }
            parms.put("repSickPrice", example.getRepSickPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_PRICE_GE", "Y");
            } else {
                parms.put("AND_REP_SICK_PRICE_GE", "Y");
            }
            parms.put("repSickPrice", example.getRepSickPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_PRICE_LT", "Y");
            } else {
                parms.put("AND_REP_SICK_PRICE_LT", "Y");
            }
            parms.put("repSickPrice", example.getRepSickPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_PRICE_LE", "Y");
            } else {
                parms.put("AND_REP_SICK_PRICE_LE", "Y");
            }
            parms.put("repSickPrice", example.getRepSickPrice());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getSUS_PAT_PRICEExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getSusPatPrice_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_PRICE_NULL", "Y");
            } else {
                parms.put("AND_SUS_PAT_PRICE_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_PRICE_NOT_NULL", "Y");
            } else {
                parms.put("AND_SUS_PAT_PRICE_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_PRICE_EQUALS", "Y");
            } else {
                parms.put("AND_SUS_PAT_PRICE_EQUALS", "Y");
            }
            parms.put("susPatPrice", example.getSusPatPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_PRICE_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_SUS_PAT_PRICE_NOT_EQUALS", "Y");
            }
            parms.put("susPatPrice", example.getSusPatPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_PRICE_GT", "Y");
            } else {
                parms.put("AND_SUS_PAT_PRICE_GT", "Y");
            }
            parms.put("susPatPrice", example.getSusPatPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_PRICE_GE", "Y");
            } else {
                parms.put("AND_SUS_PAT_PRICE_GE", "Y");
            }
            parms.put("susPatPrice", example.getSusPatPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_PRICE_LT", "Y");
            } else {
                parms.put("AND_SUS_PAT_PRICE_LT", "Y");
            }
            parms.put("susPatPrice", example.getSusPatPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_PRICE_LE", "Y");
            } else {
                parms.put("AND_SUS_PAT_PRICE_LE", "Y");
            }
            parms.put("susPatPrice", example.getSusPatPrice());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getINTE_PAT_PRICEExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getIntePatPrice_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_PRICE_NULL", "Y");
            } else {
                parms.put("AND_INTE_PAT_PRICE_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_PRICE_NOT_NULL", "Y");
            } else {
                parms.put("AND_INTE_PAT_PRICE_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_PRICE_EQUALS", "Y");
            } else {
                parms.put("AND_INTE_PAT_PRICE_EQUALS", "Y");
            }
            parms.put("intePatPrice", example.getIntePatPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_PRICE_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_INTE_PAT_PRICE_NOT_EQUALS", "Y");
            }
            parms.put("intePatPrice", example.getIntePatPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_PRICE_GT", "Y");
            } else {
                parms.put("AND_INTE_PAT_PRICE_GT", "Y");
            }
            parms.put("intePatPrice", example.getIntePatPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_PRICE_GE", "Y");
            } else {
                parms.put("AND_INTE_PAT_PRICE_GE", "Y");
            }
            parms.put("intePatPrice", example.getIntePatPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_PRICE_LT", "Y");
            } else {
                parms.put("AND_INTE_PAT_PRICE_LT", "Y");
            }
            parms.put("intePatPrice", example.getIntePatPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_PRICE_LE", "Y");
            } else {
                parms.put("AND_INTE_PAT_PRICE_LE", "Y");
            }
            parms.put("intePatPrice", example.getIntePatPrice());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getRural_doct_PRICEExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getRuralDoctPrice_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_PRICE_NULL", "Y");
            } else {
                parms.put("AND_Rural_doct_PRICE_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_PRICE_NOT_NULL", "Y");
            } else {
                parms.put("AND_Rural_doct_PRICE_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_PRICE_EQUALS", "Y");
            } else {
                parms.put("AND_Rural_doct_PRICE_EQUALS", "Y");
            }
            parms.put("ruralDoctPrice", example.getRuralDoctPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_PRICE_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_Rural_doct_PRICE_NOT_EQUALS", "Y");
            }
            parms.put("ruralDoctPrice", example.getRuralDoctPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_PRICE_GT", "Y");
            } else {
                parms.put("AND_Rural_doct_PRICE_GT", "Y");
            }
            parms.put("ruralDoctPrice", example.getRuralDoctPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_PRICE_GE", "Y");
            } else {
                parms.put("AND_Rural_doct_PRICE_GE", "Y");
            }
            parms.put("ruralDoctPrice", example.getRuralDoctPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_PRICE_LT", "Y");
            } else {
                parms.put("AND_Rural_doct_PRICE_LT", "Y");
            }
            parms.put("ruralDoctPrice", example.getRuralDoctPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_PRICE_LE", "Y");
            } else {
                parms.put("AND_Rural_doct_PRICE_LE", "Y");
            }
            parms.put("ruralDoctPrice", example.getRuralDoctPrice());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getPsych_supp_PRICEExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getPsychSuppPrice_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_PRICE_NULL", "Y");
            } else {
                parms.put("AND_Psych_supp_PRICE_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_PRICE_NOT_NULL", "Y");
            } else {
                parms.put("AND_Psych_supp_PRICE_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_PRICE_EQUALS", "Y");
            } else {
                parms.put("AND_Psych_supp_PRICE_EQUALS", "Y");
            }
            parms.put("psychSuppPrice", example.getPsychSuppPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_PRICE_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_Psych_supp_PRICE_NOT_EQUALS", "Y");
            }
            parms.put("psychSuppPrice", example.getPsychSuppPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_PRICE_GT", "Y");
            } else {
                parms.put("AND_Psych_supp_PRICE_GT", "Y");
            }
            parms.put("psychSuppPrice", example.getPsychSuppPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_PRICE_GE", "Y");
            } else {
                parms.put("AND_Psych_supp_PRICE_GE", "Y");
            }
            parms.put("psychSuppPrice", example.getPsychSuppPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_PRICE_LT", "Y");
            } else {
                parms.put("AND_Psych_supp_PRICE_LT", "Y");
            }
            parms.put("psychSuppPrice", example.getPsychSuppPrice());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_PRICE_LE", "Y");
            } else {
                parms.put("AND_Psych_supp_PRICE_LE", "Y");
            }
            parms.put("psychSuppPrice", example.getPsychSuppPrice());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getREP_SICK_FEEExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getRepSickFee_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_FEE_NULL", "Y");
            } else {
                parms.put("AND_REP_SICK_FEE_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_FEE_NOT_NULL", "Y");
            } else {
                parms.put("AND_REP_SICK_FEE_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_FEE_EQUALS", "Y");
            } else {
                parms.put("AND_REP_SICK_FEE_EQUALS", "Y");
            }
            parms.put("repSickFee", example.getRepSickFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_FEE_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_REP_SICK_FEE_NOT_EQUALS", "Y");
            }
            parms.put("repSickFee", example.getRepSickFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_FEE_GT", "Y");
            } else {
                parms.put("AND_REP_SICK_FEE_GT", "Y");
            }
            parms.put("repSickFee", example.getRepSickFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_FEE_GE", "Y");
            } else {
                parms.put("AND_REP_SICK_FEE_GE", "Y");
            }
            parms.put("repSickFee", example.getRepSickFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_FEE_LT", "Y");
            } else {
                parms.put("AND_REP_SICK_FEE_LT", "Y");
            }
            parms.put("repSickFee", example.getRepSickFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_REP_SICK_FEE_LE", "Y");
            } else {
                parms.put("AND_REP_SICK_FEE_LE", "Y");
            }
            parms.put("repSickFee", example.getRepSickFee());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getSUS_PAT_FEEExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getSusPatFee_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_FEE_NULL", "Y");
            } else {
                parms.put("AND_SUS_PAT_FEE_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_FEE_NOT_NULL", "Y");
            } else {
                parms.put("AND_SUS_PAT_FEE_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_FEE_EQUALS", "Y");
            } else {
                parms.put("AND_SUS_PAT_FEE_EQUALS", "Y");
            }
            parms.put("susPatFee", example.getSusPatFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_FEE_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_SUS_PAT_FEE_NOT_EQUALS", "Y");
            }
            parms.put("susPatFee", example.getSusPatFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_FEE_GT", "Y");
            } else {
                parms.put("AND_SUS_PAT_FEE_GT", "Y");
            }
            parms.put("susPatFee", example.getSusPatFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_FEE_GE", "Y");
            } else {
                parms.put("AND_SUS_PAT_FEE_GE", "Y");
            }
            parms.put("susPatFee", example.getSusPatFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_FEE_LT", "Y");
            } else {
                parms.put("AND_SUS_PAT_FEE_LT", "Y");
            }
            parms.put("susPatFee", example.getSusPatFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_SUS_PAT_FEE_LE", "Y");
            } else {
                parms.put("AND_SUS_PAT_FEE_LE", "Y");
            }
            parms.put("susPatFee", example.getSusPatFee());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getINTE_PAT_FEEExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getIntePatFee_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_FEE_NULL", "Y");
            } else {
                parms.put("AND_INTE_PAT_FEE_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_FEE_NOT_NULL", "Y");
            } else {
                parms.put("AND_INTE_PAT_FEE_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_FEE_EQUALS", "Y");
            } else {
                parms.put("AND_INTE_PAT_FEE_EQUALS", "Y");
            }
            parms.put("intePatFee", example.getIntePatFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_FEE_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_INTE_PAT_FEE_NOT_EQUALS", "Y");
            }
            parms.put("intePatFee", example.getIntePatFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_FEE_GT", "Y");
            } else {
                parms.put("AND_INTE_PAT_FEE_GT", "Y");
            }
            parms.put("intePatFee", example.getIntePatFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_FEE_GE", "Y");
            } else {
                parms.put("AND_INTE_PAT_FEE_GE", "Y");
            }
            parms.put("intePatFee", example.getIntePatFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_FEE_LT", "Y");
            } else {
                parms.put("AND_INTE_PAT_FEE_LT", "Y");
            }
            parms.put("intePatFee", example.getIntePatFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_INTE_PAT_FEE_LE", "Y");
            } else {
                parms.put("AND_INTE_PAT_FEE_LE", "Y");
            }
            parms.put("intePatFee", example.getIntePatFee());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getRural_doct_FEEExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getRuralDoctFee_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_FEE_NULL", "Y");
            } else {
                parms.put("AND_Rural_doct_FEE_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_FEE_NOT_NULL", "Y");
            } else {
                parms.put("AND_Rural_doct_FEE_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_FEE_EQUALS", "Y");
            } else {
                parms.put("AND_Rural_doct_FEE_EQUALS", "Y");
            }
            parms.put("ruralDoctFee", example.getRuralDoctFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_FEE_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_Rural_doct_FEE_NOT_EQUALS", "Y");
            }
            parms.put("ruralDoctFee", example.getRuralDoctFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_FEE_GT", "Y");
            } else {
                parms.put("AND_Rural_doct_FEE_GT", "Y");
            }
            parms.put("ruralDoctFee", example.getRuralDoctFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_FEE_GE", "Y");
            } else {
                parms.put("AND_Rural_doct_FEE_GE", "Y");
            }
            parms.put("ruralDoctFee", example.getRuralDoctFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_FEE_LT", "Y");
            } else {
                parms.put("AND_Rural_doct_FEE_LT", "Y");
            }
            parms.put("ruralDoctFee", example.getRuralDoctFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Rural_doct_FEE_LE", "Y");
            } else {
                parms.put("AND_Rural_doct_FEE_LE", "Y");
            }
            parms.put("ruralDoctFee", example.getRuralDoctFee());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getPsych_supp_FEEExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getPsychSuppFee_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_FEE_NULL", "Y");
            } else {
                parms.put("AND_Psych_supp_FEE_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_FEE_NOT_NULL", "Y");
            } else {
                parms.put("AND_Psych_supp_FEE_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_FEE_EQUALS", "Y");
            } else {
                parms.put("AND_Psych_supp_FEE_EQUALS", "Y");
            }
            parms.put("psychSuppFee", example.getPsychSuppFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_FEE_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_Psych_supp_FEE_NOT_EQUALS", "Y");
            }
            parms.put("psychSuppFee", example.getPsychSuppFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_FEE_GT", "Y");
            } else {
                parms.put("AND_Psych_supp_FEE_GT", "Y");
            }
            parms.put("psychSuppFee", example.getPsychSuppFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_FEE_GE", "Y");
            } else {
                parms.put("AND_Psych_supp_FEE_GE", "Y");
            }
            parms.put("psychSuppFee", example.getPsychSuppFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_FEE_LT", "Y");
            } else {
                parms.put("AND_Psych_supp_FEE_LT", "Y");
            }
            parms.put("psychSuppFee", example.getPsychSuppFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_Psych_supp_FEE_LE", "Y");
            } else {
                parms.put("AND_Psych_supp_FEE_LE", "Y");
            }
            parms.put("psychSuppFee", example.getPsychSuppFee());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map gettotal_FEEExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        switch (example.getTotalFee_Indicator()) {
        case PccPaExcitationFeeExample.EXAMPLE_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_total_FEE_NULL", "Y");
            } else {
                parms.put("AND_total_FEE_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_NULL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_total_FEE_NOT_NULL", "Y");
            } else {
                parms.put("AND_total_FEE_NOT_NULL", "Y");
            }
            break;
        case PccPaExcitationFeeExample.EXAMPLE_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_total_FEE_EQUALS", "Y");
            } else {
                parms.put("AND_total_FEE_EQUALS", "Y");
            }
            parms.put("totalFee", example.getTotalFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_NOT_EQUALS:
            if (example.isCombineTypeOr()) {
                parms.put("OR_total_FEE_NOT_EQUALS", "Y");
            } else {
                parms.put("AND_total_FEE_NOT_EQUALS", "Y");
            }
            parms.put("totalFee", example.getTotalFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_total_FEE_GT", "Y");
            } else {
                parms.put("AND_total_FEE_GT", "Y");
            }
            parms.put("totalFee", example.getTotalFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_GREATER_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_total_FEE_GE", "Y");
            } else {
                parms.put("AND_total_FEE_GE", "Y");
            }
            parms.put("totalFee", example.getTotalFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN:
            if (example.isCombineTypeOr()) {
                parms.put("OR_total_FEE_LT", "Y");
            } else {
                parms.put("AND_total_FEE_LT", "Y");
            }
            parms.put("totalFee", example.getTotalFee());
            break;
        case PccPaExcitationFeeExample.EXAMPLE_LESS_THAN_OR_EQUAL:
            if (example.isCombineTypeOr()) {
                parms.put("OR_total_FEE_LE", "Y");
            } else {
                parms.put("AND_total_FEE_LE", "Y");
            }
            parms.put("totalFee", example.getTotalFee());
            break;
        }
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    private Map getExampleParms(PccPaExcitationFeeExample example) {
        Map parms = new HashMap();
        parms.putAll(getIDExampleParms(example));
        parms.putAll(getFISCAL_YEARExampleParms(example));
        parms.putAll(getFROM_AREAExampleParms(example));
        parms.putAll(getSORT_IDExampleParms(example));
        parms.putAll(getPATIENTSExampleParms(example));
        parms.putAll(getREP_SICK_scaleExampleParms(example));
        parms.putAll(getSUS_PAT_scaleExampleParms(example));
        parms.putAll(getINTE_PAT_scaleExampleParms(example));
        parms.putAll(getRural_doct_scaleExampleParms(example));
        parms.putAll(getPsych_supp_scaleExampleParms(example));
        parms.putAll(getREP_SICK_PRICEExampleParms(example));
        parms.putAll(getSUS_PAT_PRICEExampleParms(example));
        parms.putAll(getINTE_PAT_PRICEExampleParms(example));
        parms.putAll(getRural_doct_PRICEExampleParms(example));
        parms.putAll(getPsych_supp_PRICEExampleParms(example));
        parms.putAll(getREP_SICK_FEEExampleParms(example));
        parms.putAll(getSUS_PAT_FEEExampleParms(example));
        parms.putAll(getINTE_PAT_FEEExampleParms(example));
        parms.putAll(getRural_doct_FEEExampleParms(example));
        parms.putAll(getPsych_supp_FEEExampleParms(example));
        parms.putAll(gettotal_FEEExampleParms(example));
        return parms;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    public int selectCountByExample(PccPaExcitationFeeExample example) {
        Map parms = getExampleParms(example);
        int count = ((Integer)getSqlMapClientTemplate().queryForObject("pcc_pa_excitation_fee.abatorgenerated_selectCountByExample", parms)).intValue();
        return count;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    public PageBox selectByExampleWithPaging(PccPaExcitationFeeExample example, int pageSize, int pageNum, String orderByClause) {
        Map parms = getExampleParms(example);
        if (orderByClause != null) {
            parms.put("ABATOR_ORDER_BY_CLAUSE", orderByClause);
        }
        PageBox pageBox = new PageBox();
        PageObject pageObject = new PageObject();
        pageObject.setPageSize(pageSize);
        pageObject.setPageIndex(pageNum);
        int itemAmount = selectCountByExample(example);
        pageObject.setItemAmount(itemAmount);
        List pageList = null;
        if (pageObject.getBeginIndex() <= pageObject.getItemAmount()) {
            pageList = (getSqlMapClientTemplate().queryForList("pcc_pa_excitation_fee.abatorgenerated_selectByExample", parms, pageObject.getBeginIndex() - 1, pageSize));
        }
        pageBox.setPageObject(pageObject);
        pageBox.setPageList(pageList);
        return pageBox;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    public PageBox selectByExampleWithPaging(PccPaExcitationFeeExample example, int pageSize, int pageNum) {
        return selectByExampleWithPaging(example, pageSize, pageNum, null);
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method corresponds to the database table pcc_pa_excitation_fee
     *
     * @abatorgenerated Tue Apr 17 10:39:39 CST 2012
     */
    public int updateByPrimaryKeyForCgs(PccPaExcitationFee record) {
        int rows = getSqlMapClientTemplate().update("pcc_pa_excitation_fee.abatorgenerated_updateByPrimaryKeyForCgs", record);
        return rows;
    }
}